﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Runtime.Serialization;
using Fcdbas.Core.WCF.TransFile.Contracts.Enums;

namespace Fcdbas.Core.WCF.TransFile.Contracts.Models
{

    ///<summary>
    ///作者:   谢海波
    ///时间:   2011-09-15
    ///描述:   获取缓存
    ///<summary>
    [DataContract]
    public class GetOffSetResult
    {
        /// <summary>
        /// 是否成功获取
        /// </summary>
        private bool _IsSuccess;
        [DataMember]
        public bool IsSuccess
        {
            get { return _IsSuccess; }
            set { _IsSuccess = value; }
        }

        /// <summary>
        /// 偏移量
        /// </summary>
        private long _OffSet;
        [DataMember]
        public long OffSet
        {
            get { return _OffSet; }
            set { _OffSet = value; }
        }

        /// <summary>
        /// 是否已经重新创建
        /// </summary>
        private bool _IsCreateNew;
        [DataMember]
        public bool IsCreateNew
        {
            get { return _IsCreateNew; }
            set { _IsCreateNew = value; }
        }
    }
}
